<template>
	<view>
		<!-- 支付失败 -->
		<baseHead title="支付结果" bg="#ffffff" color="#000000" :showReturn="false"></baseHead>
		<view class="container">
			<view class="boximage">
				<image src="@/static/image/payicon/shibai.png" ></image>
			</view>
			<view class="boxtext">
				<view class="boxtext1">
					支付失败
				</view>
				<view class="boxtext2">
					请重新支付
				</view>
			</view>
			<view class="boxbtn">
				<u-button type="primary" :plain="true" text="返回上一页" @click="shangyiyeClick"></u-button>
				<u-button type="primary" :plain="true" text="返回首页" @click="homeClick"></u-button>
			</view>
		</view>
	</view>
</template>

<script>
	import baseHead from '@/pages/component/baseHead.vue'
	export default {
		data() {
			return {
				
			}
		},
		components: {
			baseHead
		},
		methods: {
			shangyiyeClick(){
				uni.navigateBack({
					delta: 1
				});
			},
			homeClick(){
				uni.switchTab({
					url: '/pages/Home/index'
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
.container{
	.boximage{
		margin-top: 148rpx;
		display: flex;
		justify-content: center;
		image{
			width: 198rpx;
			height: 198rpx;
		}
	}
	.boxtext{
		margin-top: 43rpx;
		.boxtext1{
			display: flex;
			justify-content: center;
			font-size: 36rpx;
			font-weight: bold;
		}
		.boxtext2{
			display: flex;
			justify-content: center;
			font-size: 34rpx;
			font-weight: bold;
			margin-top: 24rpx;
		}
		
	}
	.boxbtn{
		display: flex;
		
		margin: 160rpx 60rpx 0 60rpx;
		/deep/.u-button{
			width: 260rpx;
			height: 90rpx;
			border-radius: 100rpx;
			
		}
	}
}
</style>
